fontchooser: Only compare font descriptions when families match
authorBenjamin Otte <otte@redhat.com>
Wed, 21 Sep 2011 03:44:22 +0000 (05:44 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Sep 2011 19:44:05 +0000 (21:44 +0200)
commitc9ef2d019e425b76467ad3867eaffa8b51a22726
tree7521e1083c5a29280ef2d1922b1028c224accc5e
parent7d5d0a19e75db97f5c071c4a5c4bab4a7a584063
fontchooser: Only compare font descriptions when families match

This way, we can find fonts way quicker as we only need to create font
descriptions for fonts with matching families. Most importantly, we're
rather quick in the "the font doesn't exist" case.
gtk/gtkfontchooserwidget.c